Make it possible to set use-header-bar from a setting
authorMatthias Clasen <mclasen@redhat.com>
Fri, 17 Jan 2014 22:17:23 +0000 (17:17 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 17 Jan 2014 22:52:08 +0000 (17:52 -0500)
commit106bcc7f5e3ff116f8a8c265627e20332e200615
tree1a139d1a87c0cdfd902d4011020e59f545e3b0d5
parent3701de14a11e1b3e7cab4d5d2676c0c80928f278
Make it possible to set use-header-bar from a setting

This commit introduces a private convenience API that derived
dialogs can call in their instance init. This is necessary to
make the setting work as intended in the face of 3rd party
dialogs derived e.g. from GtkFileChooserDialog, which are
created with g_object_new.
gtk/Makefile.am
gtk/gtkdialog.c
gtk/gtkdialogprivate.h [new file with mode: 0644]